
package com.zhitan.ems.app.stat.config.wrapper;
import com.zhitan.ems.app.stat.config.entity.ElectricityTypeSettingEntity;
import com.zhitan.ems.app.stat.config.vo.ElectricityTypeSettingVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 电峰平谷配置 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-20 09:56:55
 */
public class ElectricityTypeSettingWrapper extends BaseEntityWrapper<ElectricityTypeSettingEntity, ElectricityTypeSettingVO>  {
    public static ElectricityTypeSettingWrapper build() {
        return new ElectricityTypeSettingWrapper();
    }
	@Override
	public ElectricityTypeSettingVO entityVO(ElectricityTypeSettingEntity electricityTypeSetting) {
		if(electricityTypeSetting==null) {
			return null;
		}
		ElectricityTypeSettingVO electricityTypeSettingVO = BeanUtil.copy(electricityTypeSetting, ElectricityTypeSettingVO.class);
		return electricityTypeSettingVO;
	}

}
